package com.example.administrator.ksf_zty.JavaModels;

import java.util.List;

/**
 * 原物料调拨出库
 */
public class MaterialDBModel {

    /**
     * success : 0
     * list : {"O_SUBRC":0,"O_ZMSG":"","OUTTAB":[{"ZSGPOS":"1","ZSGPOSB":"1","MATNR":"1101041","CHARG":"H17A20A25A","ZSGMNG":513.445,"MEINS":"KG","MAKTX":"麦芽糊精","WERKS":"ZTY1","BWART":"","GRUND":"0","AUFNR":"","ZRMTN":"","QTYP":0,"QTYK":0,"LGORT":"2003","UMLGO":"2016"},{"ZSGPOS":"2","ZSGPOSB":"1","MATNR":"1105016","CHARG":"H17A20A25A","ZSGMNG":333.336,"MEINS":"KG","MAKTX":"一级精制盐","WERKS":"ZTY1","BWART":"","GRUND":"0","AUFNR":"","ZRMTN":"","QTYP":0,"QTYK":0,"LGORT":"2003","UMLGO":"2016"},{"ZSGPOS":"3","ZSGPOSB":"1","MATNR":"1105022","CHARG":"H17A20A25A","ZSGMNG":270.053,"MEINS":"KG","MAKTX":"细砂糖","WERKS":"ZTY1","BWART":"","GRUND":"0","AUFNR":"","ZRMTN":"","QTYP":0,"QTYK":0,"LGORT":"2003","UMLGO":"2016"},{"ZSGPOS":"4","ZSGPOSB":"1","MATNR":"1105031","CHARG":"H17A20A25A","ZSGMNG":118.854,"MEINS":"KG","MAKTX":"味精","WERKS":"ZTY1","BWART":"","GRUND":"0","AUFNR":"","ZRMTN":"","QTYP":0,"QTYK":0,"LGORT":"2003","UMLGO":"2016"},{"ZSGPOS":"5","ZSGPOSB":"1","MATNR":"11004536","CHARG":"H17A20A25A","ZSGMNG":86.375,"MEINS":"KG","MAKTX":"康师傅红烧牛肉粉精料","WERKS":"ZTY1","BWART":"","GRUND":"0","AUFNR":"","ZRMTN":"","QTYP":0,"QTYK":0,"LGORT":"2003","UMLGO":"2016"},{"ZSGPOS":"6","ZSGPOSB":"1","MATNR":"123937211","CHARG":"H17A20A25A","ZSGMNG":5.298,"MEINS":"RO","MAKTX":"香浓调味粉包04 (137*70)  2KM","WERKS":"ZTY1","BWART":"","GRUND":"0","AUFNR":"","ZRMTN":"","QTYP":0,"QTYK":0,"LGORT":"2003","UMLGO":"2016"}]}
     */

    private int success;
    private ListBean list;

    public int getSuccess() {
        return success;
    }

    public void setSuccess(int success) {
        this.success = success;
    }

    public ListBean getList() {
        return list;
    }

    public void setList(ListBean list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * O_SUBRC : 0
         * O_ZMSG :
         * OUTTAB : [{"ZSGPOS":"1","ZSGPOSB":"1","MATNR":"1101041","CHARG":"H17A20A25A","ZSGMNG":513.445,"MEINS":"KG","MAKTX":"麦芽糊精","WERKS":"ZTY1","BWART":"","GRUND":"0","AUFNR":"","ZRMTN":"","QTYP":0,"QTYK":0,"LGORT":"2003","UMLGO":"2016"},{"ZSGPOS":"2","ZSGPOSB":"1","MATNR":"1105016","CHARG":"H17A20A25A","ZSGMNG":333.336,"MEINS":"KG","MAKTX":"一级精制盐","WERKS":"ZTY1","BWART":"","GRUND":"0","AUFNR":"","ZRMTN":"","QTYP":0,"QTYK":0,"LGORT":"2003","UMLGO":"2016"},{"ZSGPOS":"3","ZSGPOSB":"1","MATNR":"1105022","CHARG":"H17A20A25A","ZSGMNG":270.053,"MEINS":"KG","MAKTX":"细砂糖","WERKS":"ZTY1","BWART":"","GRUND":"0","AUFNR":"","ZRMTN":"","QTYP":0,"QTYK":0,"LGORT":"2003","UMLGO":"2016"},{"ZSGPOS":"4","ZSGPOSB":"1","MATNR":"1105031","CHARG":"H17A20A25A","ZSGMNG":118.854,"MEINS":"KG","MAKTX":"味精","WERKS":"ZTY1","BWART":"","GRUND":"0","AUFNR":"","ZRMTN":"","QTYP":0,"QTYK":0,"LGORT":"2003","UMLGO":"2016"},{"ZSGPOS":"5","ZSGPOSB":"1","MATNR":"11004536","CHARG":"H17A20A25A","ZSGMNG":86.375,"MEINS":"KG","MAKTX":"康师傅红烧牛肉粉精料","WERKS":"ZTY1","BWART":"","GRUND":"0","AUFNR":"","ZRMTN":"","QTYP":0,"QTYK":0,"LGORT":"2003","UMLGO":"2016"},{"ZSGPOS":"6","ZSGPOSB":"1","MATNR":"123937211","CHARG":"H17A20A25A","ZSGMNG":5.298,"MEINS":"RO","MAKTX":"香浓调味粉包04 (137*70)  2KM","WERKS":"ZTY1","BWART":"","GRUND":"0","AUFNR":"","ZRMTN":"","QTYP":0,"QTYK":0,"LGORT":"2003","UMLGO":"2016"}]
         */

        private int O_SUBRC;
        private String O_ZMSG;
        private List<OUTTABBean> OUTTAB;

        public int getO_SUBRC() {
            return O_SUBRC;
        }

        public void setO_SUBRC(int O_SUBRC) {
            this.O_SUBRC = O_SUBRC;
        }

        public String getO_ZMSG() {
            return O_ZMSG;
        }

        public void setO_ZMSG(String O_ZMSG) {
            this.O_ZMSG = O_ZMSG;
        }

        public List<OUTTABBean> getOUTTAB() {
            return OUTTAB;
        }

        public void setOUTTAB(List<OUTTABBean> OUTTAB) {
            this.OUTTAB = OUTTAB;
        }

        public static class OUTTABBean {
            /**
             * ZSGPOS : 1
             * ZSGPOSB : 1
             * MATNR : 1101041
             * CHARG : H17A20A25A
             * ZSGMNG : 513.445
             * MEINS : KG
             * MAKTX : 麦芽糊精
             * WERKS : ZTY1
             * BWART :
             * GRUND : 0
             * AUFNR :
             * ZRMTN :
             * QTYP : 0.0
             * QTYK : 0.0
             * LGORT : 2003
             * UMLGO : 2016
             */

            private String ZSGPOS;//备料项目
            private String ZSGPOSB;//备料批次项目
            private String MATNR;//物料号
            private String CHARG;//批号
            private double ZSGMNG;//备料数
            private String MEINS;//基本计量单位
            private String MAKTX;//物料描述（短文本）
            private String WERKS;//工厂
            private String BWART;//移动类型（库存管理）
            private String GRUND;//移动原因
            private String AUFNR;//订单号
            private String ZRMTN;//尾数调整项
            private double QTYP;//在装运中有关能力计划的基准数量
            private double QTYK;//在装运中有关能力计划的基准数量
            private String LGORT;//库存地点
            private String UMLGO;//调拨接受仓库

            public String getZSGPOS() {
                return ZSGPOS;
            }

            public void setZSGPOS(String ZSGPOS) {
                this.ZSGPOS = ZSGPOS;
            }

            public String getZSGPOSB() {
                return ZSGPOSB;
            }

            public void setZSGPOSB(String ZSGPOSB) {
                this.ZSGPOSB = ZSGPOSB;
            }

            public String getMATNR() {
                return MATNR;
            }

            public void setMATNR(String MATNR) {
                this.MATNR = MATNR;
            }

            public String getCHARG() {
                return CHARG;
            }

            public void setCHARG(String CHARG) {
                this.CHARG = CHARG;
            }

            public double getZSGMNG() {
                return ZSGMNG;
            }

            public void setZSGMNG(double ZSGMNG) {
                this.ZSGMNG = ZSGMNG;
            }

            public String getMEINS() {
                return MEINS;
            }

            public void setMEINS(String MEINS) {
                this.MEINS = MEINS;
            }

            public String getMAKTX() {
                return MAKTX;
            }

            public void setMAKTX(String MAKTX) {
                this.MAKTX = MAKTX;
            }

            public String getWERKS() {
                return WERKS;
            }

            public void setWERKS(String WERKS) {
                this.WERKS = WERKS;
            }

            public String getBWART() {
                return BWART;
            }

            public void setBWART(String BWART) {
                this.BWART = BWART;
            }

            public String getGRUND() {
                return GRUND;
            }

            public void setGRUND(String GRUND) {
                this.GRUND = GRUND;
            }

            public String getAUFNR() {
                return AUFNR;
            }

            public void setAUFNR(String AUFNR) {
                this.AUFNR = AUFNR;
            }

            public String getZRMTN() {
                return ZRMTN;
            }

            public void setZRMTN(String ZRMTN) {
                this.ZRMTN = ZRMTN;
            }

            public double getQTYP() {
                return QTYP;
            }

            public void setQTYP(double QTYP) {
                this.QTYP = QTYP;
            }

            public double getQTYK() {
                return QTYK;
            }

            public void setQTYK(double QTYK) {
                this.QTYK = QTYK;
            }

            public String getLGORT() {
                return LGORT;
            }

            public void setLGORT(String LGORT) {
                this.LGORT = LGORT;
            }

            public String getUMLGO() {
                return UMLGO;
            }

            public void setUMLGO(String UMLGO) {
                this.UMLGO = UMLGO;
            }
        }
    }
}
